﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace NFine.Domain.Entity.BusinessManage
{
    public class D_GroupMemberEntity : IEntity<D_GroupMemberEntity>//, ICreationAudited, IDeleteAudited, IModificationAudited
    {
        public string ID { get; set; }
        public string GroupID { get; set; }
        public string MemberID { get; set; }
        public string MemberName { get; set; }
        public DateTime? PromotionTime { get; set; }
        public int Amount { get; set; }
        public int? ManagerCount { get; set; }
        public string GroupStatusText { get; set; }
        /// <summary>
        /// 0:经理;1:副经理;2:组员;3:新组员
        /// </summary>
        public int? GroupStatus { get; set; }
        public int? OrderID { get; set; }
        /// <summary>
        /// 是否为经营者（进入经营组织）
        /// </summary>
        public bool IsOperator { get; set; }

        /// <summary>
        /// 是否紧缩
        /// </summary>
        public bool IsJinsuo { get; set; }

        /// <summary>
        /// 组内推荐人
        /// </summary>
        public string GroupRef { get; set; }
        public string OldID { get; set; }

        [NotMapped]
        public SystemManage.UserEntity User { get; set; }
    }
}
